dirmngr: fix handling of HTTPS redirections during HKP
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 11 Jun 2019 07:25:46 +0000 (08:25 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 22 Aug 2019 19:11:59 +0000 (20:11 +0100)
commit1d452871228a395754ab0d621b9caeca443240d8
treec49c537a146680e38428c8a3d8083df4badf4252
parent9fbcec394ae46040294c9df849e4c26580f0d9b2
dirmngr: fix handling of HTTPS redirections during HKP

* dirmngr/ks-engine-hkp.c (send_request): Reinitialize HTTP session when
following a HTTP redirection.

--
inspired by patch from Damien Goutte-Gattat <dgouttegattat@incenp.org>

GnuPG-Bug_id: 4566
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
(cherry picked from commit efb6e08ea2ca1cf2d39135d94195802cd69b9ea6)

Gbp-Pq: Topic from-2.2.17
Gbp-Pq: Name dirmngr-fix-handling-of-HTTPS-redirections-during-HKP.patch
dirmngr/ks-engine-hkp.c